package dn.easy.common.event;

import org.simple.eventbus.EventBus;

public class InvoiceStateEventUtil {

    public static void setInvoiceState(int state, int iid, int tag) {
        EventStateEntity eventStateEntity = new EventStateEntity();
        eventStateEntity.setIid(iid);
        eventStateEntity.setState(state);
        EventBus.getDefault().post(new EventBusMsg<>(eventStateEntity, tag));
    }

}
